package dwz.persistence.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import dwz.dal.BaseMapper;
import dwz.persistence.BaseConditionVO;
import dwz.persistence.beans.WechatArticle;
import dwz.persistence.beans.WechatMenu;

public interface WechatArticleMapper extends BaseMapper<WechatArticle, Integer>{
	List<WechatArticle> findPageBreakByCondition(BaseConditionVO vo, RowBounds rb);

	Integer findNumberByCondition(BaseConditionVO vo);
	
	void updateStatus(@Param("id") int id, @Param("status") String userStatus,
			@Param("updateDate") Date updateDate);
	
	List<WechatArticle> findByMenuCode(@Param("menuCode") String menuCode);
}
